<?php

namespace Modules\User\Http\Controllers\Admin;

use Modules\User\Http\Controllers\UserBaseController;


/**
 * 后台用户控制器
 * @author long2ge
 * @date 2023/10/24 2:28 PM
 * @class AdminUserController
 * @package Modules\User\Http\Controllers\AdminUser
 * @describe
 *
 * @OA\Tag(
 *     name="后台用户",
 *     description="后台用户的增删改查",
 *     @OA\ExternalDocumentation(
 *         description="后台用户相关的路由",
 *         url="http://swagger.io"
 *     )
 * )
 *
 */
class AdminUserController extends UserBaseController
{
    /**
     *
     * @OA\Get(
     *     path="/api/admin/user/{id}",
     *     tags={"后台用户"},
     *     security={{"Authorization-Bearer":{}}},
     *     @OA\Parameter(ref="#/components/parameters/Authorization"),
     *     @OA\Parameter(
     *       name="id",
     *       example="1",
     *       in="path",
     *       required=true,
     *       description="用户id",
     *       @OA\Schema(type="integer")
     *     ),
     *     @OA\Response(
     *         response=200,
     *         description="SUCCESS/成功",
     *         @OA\MediaType(
     *             mediaType="application/json",
     *             @OA\Schema(
     *              @OA\Property(property="username", type="string", description="账号"),
     *              @OA\Property(property="name", type="string", description="昵称"),
     *              @OA\Property(property="email", type="string", description="邮箱"),
     *              @OA\Property(property="phone", type="string", description="手机号码"),
     *              @OA\Property(property="birthday", type="string", description="生日"),
     *              @OA\Property(property="avatar", type="string", description="头像"),
     *              @OA\Property(property="sex", type="integer", format="int32", description="性别 1代表男, 0代表女"),
     *         ),
     *         example={"username":"admin","name":"11","email":"123@163.com","phone":null,"birthday":"2000-10-01","sex":1,"avatar":"xxxx.com/1.png"}
     *        )
     *     ),
     * )
     */
    public function show()
    {

    }
}
